/*
   Router-Listener-Serve
*/
use crate::error::ApiResult;

mod logger;
mod config;
mod database;
mod entity;
mod app;
mod server;
mod api;
mod error;
mod response;
mod latency;

mod validation;
mod id;
mod common;
mod oidc;

#[tokio::main]
async fn main() -> ApiResult<()> {
    app::run(api::create_router()).await
}


